package com.cosc716.restaurant.commands.orders;

import com.cosc716.restaurant.commands.Command;
import com.cosc716.restaurant.domain.collections.OrderQueue;
import com.cosc716.restaurant.system.Aggregator;

public class CommandClearOrderQueue implements Command {

	@Override
	public Object execute(Aggregator aggregator) {
		
		OrderQueue orders =  aggregator.getOrders();
		orders.clearOrders();
		
		return null;
	}
}
